import {createRoot} from 'react-dom/client'
import {App} from './App'
import {RouterProvider} from "react-router-dom";
import router from "./router";

const root = createRoot(document.querySelector('#root'))

root.render(
    //路由绑定到根组件
    <RouterProvider router={router}>
        <App/>
    </RouterProvider>)
